From 8c80eedd0f2622ed5d432cc090dd2fb75ad53f23 Mon Sep 17 00:00:00 2001 From: Soeren Sandmann Date: Thu, 12 Feb 2004 14:49:37 +0000 Subject: [PATCH] Fix up item_area correctly in RTL mode. (#133984, patch from Semion Thu Feb 12 15:46:26 2004 Soeren Sandmann * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktoolbar.c | 2 +- 6 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49eba098e1..1b3f714cc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 12 15:46:26 2004 Soeren Sandmann + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area + correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). + Thu Feb 12 02:22:02 2004 Matthias Clasen * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 49eba098e1..1b3f714cc1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Feb 12 15:46:26 2004 Soeren Sandmann + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area + correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). + Thu Feb 12 02:22:02 2004 Matthias Clasen * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 49eba098e1..1b3f714cc1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Feb 12 15:46:26 2004 Soeren Sandmann + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area + correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). + Thu Feb 12 02:22:02 2004 Matthias Clasen * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 49eba098e1..1b3f714cc1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Feb 12 15:46:26 2004 Soeren Sandmann + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area + correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). + Thu Feb 12 02:22:02 2004 Matthias Clasen * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 49eba098e1..1b3f714cc1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Feb 12 15:46:26 2004 Soeren Sandmann + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area + correctly in RTL mode. (#133984, patch from Semion Chichelnitsky). + Thu Feb 12 02:22:02 2004 Matthias Clasen * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index efc15367eb..3ce9fc704d 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -1468,7 +1468,7 @@ gtk_toolbar_size_allocate (GtkWidget *widget, if (need_arrow) fixup_allocation_for_rtl (available_size, &arrow_allocation); - fixup_allocation_for_rtl (allocation->width, &item_area); + fixup_allocation_for_rtl (available_size, &item_area); } /* translate the items by allocation->(x,y) */ -- 2.30.2